-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react: useAddProfileInterests and useRemoveProfileInterests #915
react: useAddProfileInterests and useRemoveProfileInterests #915
Conversation
🦋 Changeset detectedLatest commit: 25205fc The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request has been linked to 1 task:
|
b59aaa3
to
9bb0abd
Compare
9bb0abd
to
a849b60
Compare
a849b60
to
e192ad4
Compare
e192ad4
to
f242826
Compare
f242826
to
dfba4b7
Compare
dfba4b7
to
6edfb92
Compare
); | ||
|
||
await add({ | ||
profileId: session.profile.id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can one add interest to another profile other than the logged-in one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, but it is used in the presenter for optimistic update. also I didn't want to bring interests enum to the domain so I used only profileId in the domain request.
profileId is used only internally here, not exposed to the SDK user.
6edfb92
to
e9a5840
Compare
e9a5840
to
25205fc
Compare
No description provided.